-- dragon_scrap
-- created by panyl
-- 神龙许愿：我需要您的碎片

return {
    doWish = function(info)
        local args = DragonWishM.query(info["id"], "args");
        local bonus = args["bonus"];

        BonusM.doBonus(bonus, "dragon_scrap_bonus");
        
        -- 抛出事件
        EventMgr.fire(event.GAIN_ITEM_BY_TALK, { ["bonus"] = bonus,
            ["msg"] = getLocStr("get_dragon_bonus")});
    end,
};

